package com.ict.web.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.web.domain.ExtractRule;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 专家抽取监控出参列表  yzq_review_task
 *
 * @author xss
 * @date 2022-03-03
 */
@Data
public class ExpertExtractMonitorDetailVo {
    @ApiModelProperty(value = "评审任务id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long reviewTaskId;

    /**任务名称*/
    @ApiModelProperty(value = "任务名称")
    private String taskName;

    /**评审类型(0:方案评审 1：年度项目清单评审)"*/
    @ApiModelProperty(value = "评审类型(0:方案评审 1：年度项目清单评审)")
    private String reviewType;

    /**专家数量*/
    @ApiModelProperty(value = "专家数量")
    private String expertNum;

    /**评审开始时间*/
    @ApiModelProperty(value = "评审开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime reviewTimeStart;

    /**评审结束时间*/
    @ApiModelProperty(value = "评审结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    private LocalDateTime reviewTimeEnd;

    /**评审地点*/
    @ApiModelProperty(value = "评审地点")
    private String reviewAddress;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8",shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "抽取时间")
    private LocalDateTime extractTime;

    @ApiModelProperty(value = "评审抽取类型{1：统一抽取 2：更换专家}")
    private String extractType;

    @ApiModelProperty(value = "抽取结果{1：发送专家接受 2：重新抽取}")
    private String extractResult;

    @ApiModelProperty(value = "抽取单位")
    private String extractUnit;

    @ApiModelProperty(value = "抽取操作人")
    private String extractPeople;

    @ApiModelProperty(value = "抽取规则列表")
    private List<ExtractRule> extractRules;

    @ApiModelProperty(value = "专家信息")
    private List<ExtractExpertInfoVo> extractExpertInfoVos;

}
